#pragma once
#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#include <d3d9.h>
#include <d3dx9.h>
#include <cstring>
#include <iostream>
#include <cstdlib>
#include <windows.h> 
#include <sstream>

class PD3DDevice
{
private:

LPDIRECT3D9 direct3D;
LPDIRECT3DDEVICE9 device;

public:
	PD3DDevice(HWND hWnd,D3DPRESENT_PARAMETERS newParameters);
    PD3DDevice(HWND hWnd);
	~PD3DDevice(void);
	LPDIRECT3DDEVICE9 GetDevice();
};

